package com.wondersgroup.wuhan_demo.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.wondersgroup.wuhan_demo.R;
import com.wondersgroup.wuhan_demo.entity.DeptVo;

import java.util.List;

public class DeptAdapter extends BaseQuickAdapter<DeptVo,BaseViewHolder> {

    public DeptAdapter(int layoutResId, @Nullable List<DeptVo> data){
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, DeptVo item) {
        helper.setText(R.id.deptName,item.getDeptName());
    }
}
